<!-- toaster directive -->
<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->

<!-- 导航条 -->
<div class="bg-white bread-crumb">
    <ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
        <li><a ui-sref="main"><i class="fa fa-home"></i> 首页</a></li>
        <li><a ui-sref="main.funScenes.route.list" href="">路线管理</a></li>
        <li class="active" ng-bind="title"></li>
    </ul>
</div>

<!-- 内容区域 -->
<div class="wrapper-md content">
    <div class="panel panel-default">
        <!-- 头部 -->
        <div class="panel-heading font-bold">{{title}}
            <a class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs" ui-sref="main.funScenes.route.list"><i class="text-md fa fa-times text-muted"></i></a>
        </div>
        <!--表单-->
        <div class="panel-body">
            <form class="form-horizontal"  name="extract_form" id="form" ng-submit="submit()">
            
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="theme"><span class="text-danger wrapper-sm">*</span>路线名称:</label>
                    <div class="col-sm-6">
						<input type="text" class="form-control" name="routeName" id="routeName" placeholder="请输入路线名称..." maxlength="20" 
						ng-model="record.routeName" ng-disabled="record.id!=null" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="maxNum"><span class="text-danger wrapper-sm">*</span>最大参赛队伍数:</label>
                    <div class="col-sm-6">
                        <input type="number" class="form-control" name="maxNum" id="maxNum" 
                        	placeholder="请输入队伍数量..." ng-model="record.maxNum" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                
<!--                 <div class="form-group"> -->
<!--                     <label class="col-lg-2 col-sm-3 control-label" for="curNum"><span class="text-danger wrapper-sm">*</span>当前参赛队伍数量:</label> -->
<!--                     <div class="col-sm-6"> -->
<!--                         <input type="number" class="form-control" name="curNum" id="curNum"  -->
<!--                         	placeholder="请输入当前队伍数量..." ng-model="record.curNum" required ng-maxlength="3"> -->
<!--                     </div> -->
<!--                 </div> -->
<!--                 <div class="line line-dashed b-b line-lg pull-in"></div> -->
                
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="maxPeopleNum"><span class="text-danger wrapper-sm">*</span>参赛总人数:</label>
                    <div class="col-sm-6">
                        <input type="number" class="form-control" name="maxPeopleNum" id="maxPeopleNum" 
                        	placeholder="请输入参赛总人数..." ng-model="record.maxPeopleNum" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                
<!--                 <div class="form-group"> -->
<!--                     <label class="col-lg-2 col-sm-3 control-label" for="curPeopleNum"><span class="text-danger wrapper-sm">*</span>当前参赛人数:</label> -->
<!--                     <div class="col-sm-6"> -->
<!--                         <input type="number" class="form-control" name="curPeopleNum" id="curPeopleNum"  -->
<!--                         	placeholder="请输入成员人数..."  ng-model="record.curPeopleNum" required maxlength="3"> -->
<!--                     </div> -->
<!--                 </div> -->
<!--                 <div class="line line-dashed b-b line-lg pull-in"></div> -->
                
                <div class="form-group">
                        <label class="col-lg-2 col-sm-3 control-label" for="remark">
                        <span class="text-danger wrapper-sm">*</span>备注</label>
                        <div class="col-sm-6">
	                        <textarea rows="3" class="form-control" placeholder="请输入备注..."ng-model="record.remark" id="remark" name="remark" maxlength="100">
                        	</textarea>
                    	</div>
                        
                    </div>
                
                <div class="form-group">
                    <div class="col-sm-6 col-sm-offset-2" >
                        <button type="reset" class="btn btn-default w-xs">重置</button>
                        <button type="submit" class="btn btn-info w-xs m-l-xl" ng-disabled="isDisabled">保存</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

